package jwanalytics.ejb.webhouse;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="referer_dimension")
@SequenceGenerator(name="c_referer_sequence", sequenceName="c_referer_sequence")
public class RefererDimension {
	
	/** Id or primary key field of this class. */
	private Long id;
	
	private String url;
	
	private String domain;
	
	@Id
 	@Column(name="referer_key")
 	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="c_referer_sequence") 	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name="url")
	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	@Column(name="domain")
	public String getDomain() {
		return domain;
	}
	
	public void setDomain(String domain) {
		this.domain = domain;
	}
	
}
